package operation;

import book.BookList;


public class Exit implements IOPeration{
    @Override
    public void work(BookList bookList) {
        for (int i = 0; i < bookList.getBookNum(); i++) {
            bookList.getBooklist()[i] = null;
            }
        System.exit(0);
        }

}

